﻿using System.Text.Json.Serialization;

namespace DimensionsHelper.ExcelAddIn.Core.Sql;

/// <summary>
/// SQL脚本筛选器的逻辑类型
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter<LogicKinds>))]
public enum LogicKinds
{
    /// <summary>
    /// 且逻辑
    /// </summary>
    [JsonStringEnumMemberName("AND")]
    And,

    /// <summary>
    /// 或逻辑
    /// </summary>
    [JsonStringEnumMemberName("OR")]
    Or
}